package com.excesys.exsecs.energy.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@TableName("ammeter_flow")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "电表流水")
public class AmmeterFlow extends Model<AmmeterFlow> {

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	@Schema(description = "主键")
	private String id;

	/**
	 * 设备id
	 */
	@Schema(description="设备id")
	private String unitNo;

	/**
	 * 数据json
	 */
	@Schema(description="数据json")
	private String data;

	/**
	 * 分区时间值 202206 202207
	 */
	@Schema(description="分区时间值 202206 202207")
	private Integer timePartition;

	/**
	 * 创建时间
	 */
	@Schema(description="创建时间")
	private Date createTime;





}